xen/arm: gic: Allow the base address to be 0
authorJulien Grall <julien.grall@citrix.com>
Wed, 1 Jul 2015 11:01:09 +0000 (12:01 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 3 Jul 2015 09:07:14 +0000 (10:07 +0100)
commitc1fde0dcd4ecb78378ffe8b3e263d28dc3b9c0eb
treec7475339fb6f61dc5690c55fcd08f110bc3e8313
parent6e591025594d831c7c9526d1bbdd4ad20b7e99af
xen/arm: gic: Allow the base address to be 0

0 is a valid physical address and dt_device_get_address would return
an error if a problem during the retrieving happen.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Cc: Zoltan Kiss <zoltan.kiss@huawei.com>
xen/arch/arm/gic-hip04.c
xen/arch/arm/gic-v2.c
xen/arch/arm/gic-v3.c